<div class="modal" ng-controller="KisBpmUrgentnoticePopupCtrl" xmlns="http://www.w3.org/1999/html">
    <div class="modal-dialog modal-wide">
        <div class="modal-content">
            <div class="modal-header">
                <button class="close" data-dismiss="modal" ng-click="close()">&times;
                </button>
                <h2>信息通知方式</h2>
            </div>

            <div class="modal-body">
                <div class="row row-no-gutter">
                    <div class="form-group">
                        <label>通知方式</label>
                        <div>
                            <div class="col-xs-5">
                                <div class="form-check">
                                    <input class="form-check-input"
                                           ng-model="isEmailChecked"
                                           type="checkbox"
                                           ng-checked="isEmailChecked"
                                           id="inlineCheckbox1">
                                    <label class="form-check-label" for="inlineCheckbox1"> 邮箱消息 </label>
                                </div>
                            </div>
                            <div class="col-xs-5">
                                <div class="form-check">
                                    <input class="form-check-input" type="checkbox" id="inlineCheckbox2"
                                           ng-checked="isTextMessageChecked" ng-model="isTextMessageChecked">
                                    <label class="form-check-label" for="inlineCheckbox2"> 短信消息 </label>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="form-group" ng-if="isEmailChecked">
                        <div class="row row-no-gutter">
                            <div class="col-xs-5">
                                <label>邮箱模板</label>
                                <select ng-model="emailTemplate"
                                        class="form-control"
                                        ng-options="a.value as a.label for a in emailOption"
                                        ng-change="emailChange(emailTemplate)">
                                    <option disabled selected ng-show="!isShow" value="">请选择邮箱模板</option>
                                </select>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="modal-footer">
                <button ng-click="close()" class="btn btn-primary" translate>ACTION.CANCEL</button>
                <button ng-click="save()" class="btn btn-primary" translate>ACTION.SAVE</button>
            </div>
        </div>
    </div>
</div>

